package com.weiyuwqj.server.service.mobile.impl;

import com.weiyuwqj.api.constant.Global;
import com.weiyuwqj.api.service.MobileVersionService;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2017/1/13.
 */

@Service("mobileVersionService")
public class MobileVersionServiceImpl implements MobileVersionService {
    @Override
    public Map getMobileVersion() {
        Map map = new HashMap();
        map.put("androidVersion", Global.getAndroidVersion());
        map.put("url", Global.getMobileVersionUrl());
        return map;
    }
}
